QT       -= core gui

TARGET = freetype
TEMPLATE = lib
CONFIG   += staticlib
VERSION = 2.4.12

QMAKE_CC += -std=c99

DEFINES += FT2_BUILD_LIBRARY

INCLUDEPATH += $$PWD/../../../pixfly/libs/freetype/include
INCLUDEPATH += $$PWD/../../../pixfly/libs/freetype/src/base

SOURCES += \
    src/autofit/afwarp.c \
    src/autofit/afpic.c \
    src/autofit/afmodule.c \
    src/autofit/afloader.c \
    src/autofit/aflatin.c \
    src/autofit/afindic.c \
    src/autofit/afhints.c \
    src/autofit/afglobal.c \
    src/autofit/afdummy.c \
    src/autofit/afcjk.c \
    src/autofit/afangles.c \
    src/base/ftxf86.c \
    src/base/ftwinfnt.c \
    src/base/ftutil.c \
    src/base/fttype1.c \
    src/base/fttrigon.c \
    src/base/ftsystem.c \
    src/base/ftsynth.c \
    src/base/ftstroke.c \
    src/base/ftstream.c \
    src/base/ftsnames.c \
    src/base/ftrfork.c \
    src/base/ftpic.c \
    src/base/ftpatent.c \
    src/base/ftoutln.c \
    src/base/ftobjs.c \
    src/base/ftmm.c \
    src/base/ftlcdfil.c \
    src/base/ftinit.c \
    src/base/ftglyph.c \
    src/base/ftgloadr.c \
    src/base/ftgasp.c \
    src/base/ftfstype.c \
    src/base/ftdebug.c \
    src/base/ftdbgmem.c \
    src/base/ftcalc.c \
    src/base/ftbitmap.c \
    src/base/ftbbox.c \
    src/base/ftapi.c \
    src/base/ftadvanc.c \
    src/base/basepic.c \
    src/cff/cffpic.c \
    src/cff/cffparse.c \
    src/cff/cffobjs.c \
    src/cff/cffload.c \
    src/cff/cffgload.c \
    src/cff/cffdrivr.c \
    src/cff/cffcmap.c \
    src/psaux/t1decode.c \
    src/psaux/t1cmap.c \
    src/psaux/psobjs.c \
    src/psaux/psconv.c \
    src/psaux/psauxmod.c \
    src/psaux/afmparse.c \
    src/pshinter/pshrec.c \
    src/pshinter/pshpic.c \
    src/pshinter/pshmod.c \
    src/pshinter/pshglob.c \
    src/pshinter/pshalgo.c \
    src/raster/rastpic.c \
    src/raster/ftrend1.c \
    src/raster/ftraster.c \
    src/sfnt/ttsbit.c \
    src/sfnt/ttpost.c \
    src/sfnt/ttmtx.c \
    src/sfnt/ttload.c \
    src/sfnt/ttkern.c \
    src/sfnt/ttcmap.c \
    src/sfnt/ttbdf.c \
    src/sfnt/sfobjs.c \
    src/sfnt/sfntpic.c \
    src/sfnt/sfdriver.c \
    src/smooth/ftspic.c \
    src/smooth/ftsmooth.c \
    src/smooth/ftgrays.c \
    src/truetype/ttpload.c \
    src/truetype/ttpic.c \
    src/truetype/ttobjs.c \
    src/truetype/ttinterp.c \
    src/truetype/ttgxvar.c \
    src/truetype/ttgload.c \
    src/truetype/ttdriver.c \
    src/psnames/psmodule.c \
    src/psnames/pspic.c

#macx:SOURCES += builds/mac/ftmac.c

HEADERS += \
    src/sfnt/ttsbit0.x \
    src/autofit/afwarp.h \
    src/autofit/aftypes.h \
    src/autofit/afpic.h \
    src/autofit/afmodule.h \
    src/autofit/afloader.h \
    src/autofit/aflatin2.h \
    src/autofit/aflatin.h \
    src/autofit/afindic.h \
    src/autofit/afhints.h \
    src/autofit/afglobal.h \
    src/autofit/aferrors.h \
    src/autofit/afdummy.h \
    src/autofit/afcjk.h \
    src/autofit/afangles.h \
    src/base/ftbase.h \
    src/base/basepic.h \
    src/cff/cfftypes.h \
    src/cff/cfftoken.h \
    src/cff/cffpic.h \
    src/cff/cffparse.h \
    src/cff/cffobjs.h \
    src/cff/cffload.h \
    src/cff/cffgload.h \
    src/cff/cfferrs.h \
    src/cff/cffdrivr.h \
    src/cff/cffcmap.h \
    include/freetype/config/ftstdlib.h \
    include/freetype/config/ftoption.h \
    include/freetype/config/ftmodule.h \
    include/freetype/config/ftheader.h \
    include/freetype/config/ftconfig.h \
    include/freetype/internal/services/svxf86nm.h \
    include/freetype/internal/services/svwinfnt.h \
    include/freetype/internal/services/svttglyf.h \
    include/freetype/internal/services/svtteng.h \
    include/freetype/internal/services/svttcmap.h \
    include/freetype/internal/services/svsfnt.h \
    include/freetype/internal/services/svpsinfo.h \
    include/freetype/internal/services/svpscmap.h \
    include/freetype/internal/services/svpostnm.h \
    include/freetype/internal/services/svpfr.h \
    include/freetype/internal/services/svotval.h \
    include/freetype/internal/services/svmm.h \
    include/freetype/internal/services/svkern.h \
    include/freetype/internal/services/svgxval.h \
    include/freetype/internal/services/svgldict.h \
    include/freetype/internal/services/svcid.h \
    include/freetype/internal/services/svbdf.h \
    include/freetype/internal/tttypes.h \
    include/freetype/internal/t1types.h \
    include/freetype/internal/sfnt.h \
    include/freetype/internal/pshints.h \
    include/freetype/internal/psaux.h \
    include/freetype/internal/pcftypes.h \
    include/freetype/internal/internal.h \
    include/freetype/internal/ftvalid.h \
    include/freetype/internal/fttrace.h \
    include/freetype/internal/ftstream.h \
    include/freetype/internal/ftserv.h \
    include/freetype/internal/ftrfork.h \
    include/freetype/internal/ftpic.h \
    include/freetype/internal/ftobjs.h \
    include/freetype/internal/ftmemory.h \
    include/freetype/internal/ftgloadr.h \
    include/freetype/internal/ftdriver.h \
    include/freetype/internal/ftdebug.h \
    include/freetype/internal/ftcalc.h \
    include/freetype/internal/autohint.h \
    include/freetype/ttunpat.h \
    include/freetype/tttags.h \
    include/freetype/tttables.h \
    include/freetype/ttnameid.h \
    include/freetype/t1tables.h \
    include/freetype/ftxf86.h \
    include/freetype/ftwinfnt.h \
    include/freetype/fttypes.h \
    include/freetype/fttrigon.h \
    include/freetype/ftsystem.h \
    include/freetype/ftsynth.h \
    include/freetype/ftstroke.h \
    include/freetype/ftsnames.h \
    include/freetype/ftsizes.h \
    include/freetype/ftrender.h \
    include/freetype/ftpfr.h \
    include/freetype/ftoutln.h \
    include/freetype/ftotval.h \
    include/freetype/ftmoderr.h \
    include/freetype/ftmodapi.h \
    include/freetype/ftmm.h \
    include/freetype/ftmac.h \
    include/freetype/ftlzw.h \
    include/freetype/ftlist.h \
    include/freetype/ftlcdfil.h \
    include/freetype/ftincrem.h \
    include/freetype/ftimage.h \
    include/freetype/ftgzip.h \
    include/freetype/ftgxval.h \
    include/freetype/ftglyph.h \
    include/freetype/ftgasp.h \
    include/freetype/fterrors.h \
    include/freetype/fterrdef.h \
    include/freetype/ftcid.h \
    include/freetype/ftchapters.h \
    include/freetype/ftcache.h \
    include/freetype/ftbitmap.h \
    include/freetype/ftbdf.h \
    include/freetype/ftbbox.h \
    include/freetype/ftadvanc.h \
    include/freetype/freetype.h \
    src/psaux/t1decode.h \
    src/psaux/t1cmap.h \
    src/psaux/psobjs.h \
    src/psaux/psconv.h \
    src/psaux/psauxmod.h \
    src/psaux/psauxerr.h \
    src/psaux/afmparse.h \
    src/pshinter/pshrec.h \
    src/pshinter/pshpic.h \
    src/pshinter/pshnterr.h \
    src/pshinter/pshmod.h \
    src/pshinter/pshglob.h \
    src/pshinter/pshalgo.h \
    src/psnames/pstables.h \
    src/psnames/pspic.h \
    src/psnames/psnamerr.h \
    src/psnames/psmodule.h \
    src/raster/rastpic.h \
    src/raster/rasterrs.h \
    src/raster/ftrend1.h \
    src/raster/ftraster.h \
    src/raster/ftmisc.h \
    src/sfnt/ttsbit0.x \
    src/sfnt/ttsbit.h \
    src/sfnt/ttpost.h \
    src/sfnt/ttmtx.h \
    src/sfnt/ttload.h \
    src/sfnt/ttkern.h \
    src/sfnt/ttcmapc.h \
    src/sfnt/ttcmap.h \
    src/sfnt/ttbdf.h \
    src/sfnt/sfobjs.h \
    src/sfnt/sfntpic.h \
    src/sfnt/sferrors.h \
    src/sfnt/sfdriver.h \
    src/smooth/ftspic.h \
    src/smooth/ftsmooth.h \
    src/smooth/ftsmerrs.h \
    src/smooth/ftgrays.h \
    src/truetype/ttpload.h \
    src/truetype/ttpic.h \
    src/truetype/ttobjs.h \
    src/truetype/ttinterp.h \
    src/truetype/ttgxvar.h \
    src/truetype/ttgload.h \
    src/truetype/tterrors.h \
    src/truetype/ttdriver.h \
    include/ft2build.h
